<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
    <meta name="theme-color" content="#000000">
    <link rel="manifest" href="/manifest.json">
    <link rel="shortcut icon" href="imags/logo.jpg">
    <title>币拍</title>
    <link href="./css/login.css" rel="stylesheet">
</head>
<body class="">
<div id="root">
    <div>
        <main class="closed">
            <header class="hero styles-module__header__3OdzN">
                <div class="level is-mobile">
                    <div class="level-left">
                        <div class="control level-item is-hidden-tablet">
                            <button class="button is-primary u-mr1 styles-module__menu_toggle__2MyVZ">
                                <span class="icon-menu"></span>
                            </button>
                        </div>
                        <div class="level-item">
                            <a>
                                <img alt="" class="image styles-module__logo__16ihP" src="imags/logo.jpg">
                            </a>
                        </div>
                        <p style="font-size: 25px">币拍——分享图片，七天得钱</p>
                    </div>
                </div>
            </header>
            <div class="wrapper">
                <aside class="sidebar">
                    <div class="menu p-lg styles-module__menu__1tOsh">
                        <div class="u-p3 styles-module__financials__1h2JL">
                            <div class="-is-logged-in">
                                <div class="financials styles-module__financials__1gGoW">
                                    <figure class="image styles-module__profile_thumbnail__3j_6P">
                                        <img src="imags/user.png" alt="1029605520@qq.com">
                                    </figure>
                                </div>
                            </div>
                        </div>
                        <ul class="menulist styles-module__menulist__xOWHq">
                            <li>
                                <ul class="menulist styles-module__menulist__xOWHq styles-module__logged_in__Zm432">
                                    <li>
                                        <a aria-current="false" href="assets.html">
                                            <span class="icon-transfer u-mr1"></span>资产
                                        </a>
                                    </li>
                                    <li>
                                        <a aria-current="false" href="transfor.html">
                                            <span class="icon-account u-mr1"></span>转账
                                        </a>
                                    </li>
                                    <li>
                                        <a aria-current="false" href="history.html">
                                            <span class="icon-account u-mr1"></span>记录
                                        </a>
                                    </li>
                                    <li>
                                        <a aria-current="true" href="infos.html" class="styles-module__active__2Jlfl">
                                            <span class="icon-account u-mr1"></span>信息
                                        </a>
                                    </li>
                                    <li>
                                        <a aria-current="false" href="login.html">
                                            <span class="icon-logout u-mr1"></span>退出
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </aside>
                <section class="body closed">
                    <div class="menu-closer" role="button" tabindex="0">
                    </div>
                    <div class="columns is-desktop content is-variable is-6">
                        <article class="u-mb6">
                            <h2 class="title is-2">最近节点信息</h2>
                            <div class="field">
                                <label class="label" style="font-size: 25px">server_version:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">head_block_num:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">last_irreversible_block_num:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">head_block_id:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">head_block_time:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">head_block_producer:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">recent_slots:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">participation_rate:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                        </article>
                    <div class="column is-5-desktop is-12-tablet">
                        <article class="section">
                            <h2 class="title is-2">最近块的信息</h2>
                            <div class="field">
                                <label class="label" style="font-size: 25px">previous:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">timestamp:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">transaction_merkle_root:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">producer:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">producer_changes:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">producer_signature:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">cycles:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">id:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">block_num:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                            <div class="field">
                                <label class="label" style="font-size: 25px">ref_block_prefix:</label>
                                <p style="font-size: 25px">0.00</p>
                            </div>
                        </article>
                    </div>
                    </div>
                </section>
            </div>
        </main>
    </div>
</div>
<script src="./plugins/layui/layui.js"></script>
<script src="./js/config.js"></script>
<script type="text/javascript">
    layui.use(['table','form','element'],function () {
        var $ = layui.$;
        var table = layui.table;
        var form = layui.form;
        var element = layui.element;

        $.ajax({
            url: contextPath+"chain/info",
            type: "GET",
            contentType:"application/json;charset=utf-8",
            success:function (data) {

            },
            error:function () {
            }
        });

    });
</script>
</body>
</html>